package com.qf.shiro.base.service.impl;

import com.qf.shiro.base.entity.SysUser;
import com.qf.shiro.base.mapper.SysUserMapper;
import com.qf.shiro.base.service.SysUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author zhangwei
 */
@Service
public class SysUserServiceImpl implements SysUserService {
    @Resource
    private SysUserMapper sysUserMapper;

    @Override
    public SysUser getUserInfo(String username) {
        return sysUserMapper.selectUserByName(username);
    }
}
